package question4;


public abstract class Visiteur<T>{
   public abstract T visite(Constante c);
   public abstract T visite(Variable v);
   
   public abstract T visite(Addition a);
   public abstract T visite(Multiplication m);
   public abstract T visite(Division d);
   public abstract T visite(Soustraction s);
   
   public abstract T visite(Plus p);
   public abstract T visite(Moins m);
   public abstract T visite(Factoriel f);
}
